<?php

get_header(); // Loads the header.php template. ?>		
		
		<div id="main" class="clearfix">				
			
			<div class="center">			
				<div id="content" class="clearfix">
						
						<?php if ( have_posts() ) : 
							global $hentry_count;$hentry_count = 0;?>
						
							<?php while ( have_posts() ) : the_post(); $hentry_count++;?>					

							   <?php get_template_part('entry'); ?>
								
							<?php endwhile; ?>							

						<?php else : ?>
							<?php get_template_part('no-results'); ?>				
						<?php endif; ?>
						
				</div> <!-- #content -->		
			
				<?php get_sidebar( 'primary' );  ?>			
				<div class="clear"></div>
			</div><!-- .center -->
			
		</div><!-- #main -->		
	
	
<?php get_footer(); // Loads the footer.php template. ?>		